package com.atguigu.boot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/hello")
public class HelloController {
    @RequestMapping("/info")
    public Map<String ,Object> getActorInfo(){
    Map<String,Object> map =new HashMap<String, Object>();
    map.put("name","zhangsan");
    return map;
    }
}
